(function() {
	if(!sessionStorage.getItem("token") || !sessionStorage.getItem("user_id") || !sessionStorage.getItem("username")) {
		window.location.href = "login.html";
	}
})();